package cz.moglum.bloodb.client.objects;

import java.util.List;

public class PlayerObject extends BaseObject {
	private String playerId;
	private String name;
	private String nick;
	private String teamId;
	
	public PlayerObject() {
	};

	public PlayerObject(String id) {
		// TODO temporary constructor
		setPlayerId(id);
		if (id.equals("1")) {
			setName("Michal Danek");
			setNick("Kolousek");
			setTeamId("1");
		} else {
			setName("Vojta Polak");
			setNick("Moglum");
			setTeamId("2");
		}
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}

	public String getPlayerId() {
		return playerId;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getNick() {
		return nick;
	}

	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}

	public String getTeamId() {
		return teamId;
	}

}